package uk.co.biggroup.lotto.syndicate.dataset;

public class DataLineLotto extends DataLine {
	
	public DataLineLotto(String numbers, String raffle) {
		this.setLine(numbers, raffle);
	}

	@Override
	protected void setLine(String numbers, String raffle) {
		this.raffle = raffle;
		this.numbers = numbers;
		String[] temp = numbers.split(DELIMITER);
		for(int i=0; i < temp.length; i++) {
			this.cnumber = new int[temp.length];
			this.cnumber[i] = Integer.parseInt(temp[i]);			
		}
		// TODO split string to numbers and cast each to int 		
	}

}
